package com.study.api.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


@FeignClient(name="springcloud-service1")
public interface ProductService {

    /**
     * 查询
     * @return
     */
    @GetMapping("service1/jsontom/hi")
    String hi();

    /**
     * 查询
     * @return
     */
    @GetMapping("service1/jsontom/hello")
    String hello();
}
